﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="Modify.aspx.cs" Inherits="CRM.Web.ComplaintCaseManage.Modify" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js" defer="defer"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $('#btnSaleVehicleSearch').bind("click", function() {
                var url = '../Pop/VehicleInfo.aspx?PageTarget=Opener';
                var title = 'VehicleInfo';
                openPage(url, title, 900, 600);
            });
            $('#btnSQReport').bind("click", function() {
                var caseType = '3';
                var caseId = $('.caseId').val();
                var url = '../ServiceQualityRepot/Modify.aspx?PageTarget=Opener&CASETYPE=' + caseType + "&CASEID=" + caseId;
                var title = 'ServiceQualityRepot';
                //window.location.href = url;
                openPage(url, title, 900, 600);
            });
            $('.gps').bind("click", function() {
                var vinCode = $('.repairVinCode').val();
                if (vinCode.length == 0) {
                    alert('整车编号不能为空！');
                    return;
                }
                var url = $('#txtGPSUrl').val() + vinCode;
                var title = 'GPS';
                //window.open(url, title);
                openPage(encodeURI(url), title, 1000, 600);
                var gisUrl = "../Common/GISSearch.ashx?vinCode=" + vinCode;
                $.get(gisUrl,
                    function(data) {
                        $('.gpsAddress').val(data);
                    });
            });

            $('.cVVillageTown').live("change", function() {
                var temp = $.trim($('.cVCountry').find("option:selected").text());
                temp += $.trim($('.cVProvince').find("option:selected").text());
                temp += $.trim($('.cVPrefectureCity').find("option:selected").text());
                temp += $.trim($('.cVCity').find("option:selected").text());
                //                temp += $.trim($('.cVVillageTown').find("option:selected").text());
                temp += $.trim($('.cVVillageTown').val());
                $('.cVehicleLocation').val(temp);
            });

            $('.cVVillage').bind("focusout", function() {
                var temp = $.trim($('.cVCountry').find("option:selected").text());
                temp += $.trim($('.cVProvince').find("option:selected").text());
                temp += $.trim($('.cVPrefectureCity').find("option:selected").text());
                temp += $.trim($('.cVCity').find("option:selected").text());
                //                temp += $.trim($('.cVVillageTown').find("option:selected").text());
                temp += $.trim($('.cVVillageTown').val());
                temp += $.trim($('.cVVillage').val());
                $('.cVehicleLocation').val(temp);
            });

            $('.cVGroupteam').bind("focusout", function() {
                var temp = $.trim($('.cVCountry').find("option:selected").text());
                temp += $.trim($('.cVProvince').find("option:selected").text());
                temp += $.trim($('.cVPrefectureCity').find("option:selected").text());
                temp += $.trim($('.cVCity').find("option:selected").text());
                //                temp += $.trim($('.cVVillageTown').find("option:selected").text());
                temp += $.trim($('.cVVillageTown').val());
                temp += $.trim($('.cVVillage').val());
                temp += $.trim($('.cVGroupteam').val());
                $('.cVehicleLocation').val(temp);

            });
            $('.btnProcessingUserSearch').live("click", function() {
                var userType = $('.ddlProcessingObjectType').val();
                var department = $('.ddlProcessingDepartmentID').val();
                var url = '../Pop/ProcessingUserSelected.aspx?DEPARTMENTID=' + department + "&USERTYPE=" + userType;
                var title = '派工人员选择';
                openPage(encodeURI(url), title, 600, 400);
            });
            
            $('#btnHistory').bind("click", function() {
                var caseType = '3';
                var caseId = $('#txtCASEID').val();
                var url = '../Pop/CaseDispatchingHistory.aspx?CASETYPE=' + caseType + "&CASEID=" + caseId;
                var title = '工单派工历史';
                openPage(encodeURI(url), title, 1000, 600);
            });

        });

        //设置车辆信息
        function SetVehicleInfo(productCode, brand, vehicleType, series, models, engineModel, engineManufacturers, vinCode, engineNumber, dealerCode, stationCode, vehicleMarkCode, customerCode, customerName, ownersMobilePhone, ownersHomePhone, purchaseDate) {
            $('.productCode').val(productCode);
            $('.brand').val(brand);
            $('.vehicleType').val(vehicleType);
            $('.series').val(series);
            $('.models').val(models);
            $('.engineModel').val(engineModel);
            $('.engineManufacturers').val(engineManufacturers);
            $('.vinCode').val(vinCode);
            $('.engineNumber').val(engineNumber);

            $('.dealerCode').val(dealerCode);
            $('.stationCode').val(stationCode);
            $('.ownersPeople').val(customerName);
            $('.ownersMobilePhone').val(ownersMobilePhone);
            $('.ownersHomePhone').val(ownersHomePhone);
            $('.ownersPeopleCode').val(customerCode);
            $('.purchaseDate').val(purchaseDate);
            $('.vehicleMarkCode').val(vehicleMarkCode); 
            //            $('.productCode').focus();
            return true;
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table border="0" cellpadding="0" cellspacing="0" id="tTitle">
        <tr>
            <td class="left">
                <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
            </td>
            <td class="middle">
                <div class="pagetitle">
                    <div>
                        <asp:Label ID="lblTitle" runat="server">投诉工单</asp:Label></div>
                </div>
            </td>
            <td class="right">
                <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
            </td>
        </tr>
    </table>
    <div id="divMain">
        <div style="width: 100%" id="tBodyMain">
            <table border="0" cellpadding="0" cellspacing="0" class="table">
                <caption>
                </caption>
                <asp:PlaceHolder ID="phBaseInfo" runat="server">
                    <tr>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                工单编号:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtCASEID" runat="server" CssClass="txt caseId" MaxLength="19" Rows="3"
                                TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCASEID" runat="server"
                                    ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCASEID" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                来电号码:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtCALLER" runat="server" CssClass="txt" MaxLength="20" Rows="3"
                                TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCALLER" runat="server"
                                    ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCALLER" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                客户姓名:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtCUSTOMERNAME" runat="server" CssClass="txt" MaxLength="32" Rows="3"
                                TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCUSTOMERNAME"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCUSTOMERNAME"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                联系号码:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtFIRSTCONTACTTEL" runat="server" CssClass="txt" MaxLength="20"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvFIRSTCONTACTTEL"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtFIRSTCONTACTTEL"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                详细地址:</div>
                        </td>
                        <td class="content" colspan="7">
                            <asp:TextBox ID="txtADDRESS" runat="server" CssClass="txt txt90" MaxLength="512"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvADDRESS"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtADDRESS"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div class="nowrap">
                                派工类型:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlDISPATCHINGTYPE" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                产品代码:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtPRODUCTCODE" runat="server" CssClass="txt productCode" MaxLength="32"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvPRODUCTCODE"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtPRODUCTCODE"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                品牌:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtBRAND" runat="server" CssClass="txt brand" MaxLength="64" Rows="3"
                                TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvBRAND" runat="server"
                                    ErrorMessage="*" Display="Dynamic" ControlToValidate="txtBRAND" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                类型:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtVEHICLETYPE" runat="server" CssClass="txt vehicleType" MaxLength="64"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvVEHICLETYPE"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtVEHICLETYPE"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                系列:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtSERIES" runat="server" CssClass="txt series" MaxLength="64" Rows="3"
                                TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvSERIES" runat="server"
                                    ErrorMessage="*" Display="Dynamic" ControlToValidate="txtSERIES" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                机型:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtMODELS" runat="server" CssClass="txt models" MaxLength="64" Rows="3"
                                TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvMODELS" runat="server"
                                    ErrorMessage="*" Display="Dynamic" ControlToValidate="txtMODELS" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                发动机型号:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtENGINEMODEL" runat="server" CssClass="txt engineModel" MaxLength="64"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvENGINEMODEL"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtENGINEMODEL"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                发动机厂家:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtENGINEMANUFACTURERS" runat="server" CssClass="txt engineManufacturers"
                                MaxLength="64" Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator
                                    ID="rfvENGINEMANUFACTURERS" runat="server" ErrorMessage="*" Display="Dynamic"
                                    ControlToValidate="txtENGINEMANUFACTURERS" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div class="nowrap">
                                整机编号:
                            </div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtVINCODE" runat="server" Style="" CssClass="txt vinCode repairVinCode"></asp:TextBox><input
                                id="btnSaleVehicleSearch" type="button" class="btn_search btnSaleVehicleSearch" />
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                发动机编号:
                            </div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtENGINENUMBER" runat="server" Style="" CssClass="txt engineNumber repairEngineNumber"></asp:TextBox>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                经销商名称:
                            </div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlDEALERCODE" runat="server" Style="" CssClass="ddl dealerCode repairDealerCode">
                            </asp:DropDownList>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                服务商名称:
                            </div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlSTATIONCODE" runat="server" Style="" CssClass="ddl stationCode repairStationCode">
                            </asp:DropDownList>
                            <asp:TextBox ID="txtVEHICLEMARKCODE" runat="server" Style="display: none;" CssClass="vehicleMarkCode"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div class="nowrap">
                                用户姓名:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtOWNERSPEOPLE" runat="server" CssClass="txt ownersPeople" MaxLength="32"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvOWNERSPEOPLE"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtOWNERSPEOPLE"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                用户手机:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtOWNERSMOBILEPHONE" runat="server" CssClass="txt ownersMobilePhone"
                                MaxLength="20" Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator
                                    ID="rfvOWNERSMOBILEPHONE" runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtOWNERSMOBILEPHONE"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                用户家庭电话:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtOWNERSHOMEPHONE" runat="server" CssClass="txt ownersHomePhone"
                                MaxLength="20" Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator
                                    ID="rfvOWNERSHOMEPHONE" runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtOWNERSHOMEPHONE"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                用户代码:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtOWNERSPEOPLECODE" runat="server" CssClass="txt ownersPeopleCode"
                                MaxLength="19" Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator
                                    ID="rfvOWNERSPEOPLECODE" runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtOWNERSPEOPLECODE"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div class="nowrap">
                                购机日期:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtPurchaseDate" runat="server" CssClass="txt purchaseDate" MaxLength="20"
                                Rows="3" TextMode="SingleLine"></asp:TextBox>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                派工时间:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtDISPATCHINGTIME" runat="server" CssClass="txt" MaxLength="20"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvDISPATCHINGTIME"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtDISPATCHINGTIME"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                完工时长(小时):</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtCOMPLETELENGTH" runat="server" CssClass="txt" MaxLength="10"
                                Enabled="false" Rows="3" TextMode="SingleLine"></asp:TextBox>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                            </div>
                        </td>
                        <td class="content">
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div class="nowrap">
                                国家:</div>
                        </td>
                        <td class="content">
                            <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                                <ContentTemplate>
                                    <asp:DropDownList ID="ddlVCOUNTRY" runat="server" CssClass="ddl rVCountry" AutoPostBack="True"
                                        OnSelectedIndexChanged="ddlVCOUNTRY_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                省份:</div>
                        </td>
                        <td class="content">
                            <asp:UpdatePanel ID="UpdatePanel5" runat="server">
                                <ContentTemplate>
                                    <asp:DropDownList ID="ddlVPROVINCE" runat="server" CssClass="ddl rVProvince" OnSelectedIndexChanged="ddlVPROVINCE_SelectedIndexChanged"
                                        AutoPostBack="true">
                                    </asp:DropDownList>
                                </ContentTemplate>
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="ddlVCOUNTRY" EventName="SelectedIndexChanged" />
                                </Triggers>
                            </asp:UpdatePanel>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                地级市:</div>
                        </td>
                        <td class="content">
                            <asp:UpdatePanel ID="UpdatePanel6" runat="server">
                                <ContentTemplate>
                                    <asp:DropDownList ID="ddlVPREFECTURECITY" runat="server" CssClass="ddl rVPrefectureCity"
                                        OnSelectedIndexChanged="ddlVPREFECTURECITY_SelectedIndexChanged" AutoPostBack="true">
                                    </asp:DropDownList>
                                </ContentTemplate>
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="ddlVCOUNTRY" EventName="SelectedIndexChanged" />
                                    <asp:AsyncPostBackTrigger ControlID="ddlVPROVINCE" EventName="SelectedIndexChanged" />
                                </Triggers>
                            </asp:UpdatePanel>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                区/县/市:</div>
                        </td>
                        <td class="content">
                            <asp:UpdatePanel ID="UpdatePanel7" runat="server">
                                <ContentTemplate>
                                    <asp:DropDownList ID="ddlVCITY" runat="server" CssClass="ddl rVCity" OnSelectedIndexChanged="ddlVCITY_SelectedIndexChanged"
                                        AutoPostBack="true">
                                    </asp:DropDownList>
                                </ContentTemplate>
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="ddlVCOUNTRY" EventName="SelectedIndexChanged" />
                                    <asp:AsyncPostBackTrigger ControlID="ddlVPROVINCE" EventName="SelectedIndexChanged" />
                                    <asp:AsyncPostBackTrigger ControlID="ddlVPREFECTURECITY" EventName="SelectedIndexChanged" />
                                </Triggers>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div class="nowrap">
                                乡/镇/街道:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtVVILLAGETOWN" runat="server" CssClass="txt cVVillageTown" MaxLength="32"></asp:TextBox>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                村:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtVVILLAGE" runat="server" CssClass="txt rVVillage" MaxLength="64"
                                Rows="3" TextMode="SingleLine"></asp:TextBox>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                组/队:</div>
                        </td>
                        <td class="content" colspan="3">
                            <asp:TextBox ID="txtVGROUPTEAM" runat="server" CssClass="txt txt90 rVGroupteam" MaxLength="64"
                                Rows="3" TextMode="SingleLine"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                车辆所在地:</div>
                        </td>
                        <td class="content" colspan="3">
                            <asp:UpdatePanel ID="UpdatePanel9" runat="server">
                                <ContentTemplate>
                                    <asp:TextBox ID="txtVEHICLELOCATION" runat="server" CssClass="txt txt90 cVehicleLocation"
                                        MaxLength="128" Rows="3" TextMode="SingleLine"></asp:TextBox>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            <asp:RequiredFieldValidator ID="rfvVEHICLELOCATION" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="txtVEHICLELOCATION" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                GPS地址:</div>
                        </td>
                        <td class="content" colspan="3">
                            <asp:TextBox ID="txtGPSADDRESS" runat="server" CssClass="txt txt90 gpsAddress" MaxLength="128"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><input id="btnGPS" type="button" class="gps btn_gps_search" />
                            <asp:RequiredFieldValidator ID="rfvGPSADDRESS" runat="server" ErrorMessage="*" Display="Dynamic"
                                ControlToValidate="txtGPSADDRESS" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                投诉类型:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlCOMPLAINTTYPE" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="rfvCOMPLAINTTYPE" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="ddlCOMPLAINTTYPE" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                投诉对象类型:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlOBJECTTYPE" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="rfvOBJECTTYPE" runat="server" ErrorMessage="*" Display="Dynamic"
                                ControlToValidate="ddlOBJECTTYPE" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                投诉对象:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtCOMPLAINTOBJECT" runat="server" CssClass="txt" MaxLength="64"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCOMPLAINTOBJECT"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCOMPLAINTOBJECT"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                投诉等级:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlCOMPLAINTLEVEL" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="rfvCOMPLAINTLEVEL" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="ddlCOMPLAINTLEVEL" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </asp:PlaceHolder>
                <tr>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            处理状态:</div>
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlSTATUS" runat="server" CssClass="ddl">
                        </asp:DropDownList>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            处理方式:</div>
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlHANDLING" runat="server" CssClass="ddl">
                        </asp:DropDownList>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            处理结果:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtRESULTS" runat="server" CssClass="txt" MaxLength="64" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvRESULTS" runat="server"
                                ErrorMessage="*" Display="Dynamic" ControlToValidate="txtRESULTS" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            闭环时间:</div>
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlREMINDERTIME" runat="server" CssClass="ddl">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="rfvREMINDERTIME" runat="server" ErrorMessage="*"
                            Display="Dynamic" ControlToValidate="ddlREMINDERTIME" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            处理对象类型:</div>
                    </td>
                    <td class="content">
                        <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlPROCESSINGOBJECTTYPE" runat="server" CssClass="ddl ddlProcessingObjectType"
                                    Style="width: 50px" OnSelectedIndexChanged="ddlProcessingObjectType_SelectedIndexChanged"
                                    AutoPostBack="true">
                                </asp:DropDownList>
                                </asp:DropDownList>
                                <asp:DropDownList runat="server" ID="ddlPROCESSINGMARKCODE" CssClass="ddl ddlPROCESSINGMARKCODE"
                                    Style="width: 90px;" AutoPostBack="True" OnSelectedIndexChanged="ddlPROCESSINGMARKCODE_SelectedIndexChanged">
                                </asp:DropDownList>
                            </ContentTemplate>
                            <Triggers>
                            </Triggers>
                        </asp:UpdatePanel>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            处理部门:</div>
                    </td>
                    <td class="content">
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlPROCESSINGDEPARTMENTID" runat="server" CssClass="ddl ddlProcessingDepartmentID"
                                    OnSelectedIndexChanged="ddlProcessingDepartmentID_SelectedIndexChanged" AutoPostBack="true">
                                </asp:DropDownList>
                                <asp:DropDownList ID="ddlPROCESSINGDEPARTMENTIDTwo" runat="server" CssClass="ddl"
                                    Visible="false">
                                </asp:DropDownList>
                            </ContentTemplate>
                            <Triggers>
                            </Triggers>
                        </asp:UpdatePanel>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            指派人员:</div>
                    </td>
                    <td class="content" colspan="3">
                        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                            <ContentTemplate>
                                <asp:TextBox ID="txtProcessingUserLogin" runat="server" CssClass="processingUserLogin"
                                    Style="display: none;" />
                                <asp:TextBox ID="txtProcessingUserName" runat="server" CssClass="txt txt90 processingUserName" /><input
                                    id="btnProcessingUserSearch" type="button" class="btn_search btnProcessingUserSearch" />
                            </ContentTemplate>
                            <Triggers>
                            </Triggers>
                        </asp:UpdatePanel>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            投诉内容:</div>
                    </td>
                    <td class="content" colspan="3">
                        <asp:TextBox ID="txtCOMPLAINTCONTENT" runat="server" CssClass="txt txt90" MaxLength="512"
                            Rows="3" TextMode="MultiLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCOMPLAINTCONTENT"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCOMPLAINTCONTENT"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            处理方法:</div>
                    </td>
                    <td class="content" colspan="3">
                        <asp:TextBox ID="txtAPPROACH" runat="server" CssClass="txt txt90" MaxLength="512"
                            Rows="3" TextMode="MultiLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvAPPROACH"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtAPPROACH"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            备注:</div>
                    </td>
                    <td class="content" colspan="7">
                        <asp:TextBox ID="txtREMARK" runat="server" CssClass="txt txt90" MaxLength="128" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvREMARK" runat="server"
                                ErrorMessage="*" Display="Dynamic" ControlToValidate="txtREMARK" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <asp:PlaceHolder ID="phSMSOrMobile" runat="server">
                    <tr>
                        <td class="title">
                            回复时间:
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtRECEIVETIME" runat="server" CssClass="txt" MaxLength="20" Rows="3"
                                TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvRECEIVETIME"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtRECEIVETIME"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            号码或工号:
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtRECEIVEPEOPLE" runat="server" CssClass="txt" MaxLength="64" Rows="3"
                                TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvRECEIVEPEOPLE"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtRECEIVEPEOPLE"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            回复内容:
                        </td>
                        <td class="content" colspan="3">
                            <asp:TextBox ID="txtRECEIVECONTENT" runat="server" CssClass="txt txt90" MaxLength="256"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvRECEIVECONTENT"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtRECEIVECONTENT"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            完工时间:
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtCOMPLETEDTIME" runat="server" CssClass="txt" MaxLength="20" Rows="3"
                                TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCOMPLETEDTIME"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCOMPLETEDTIME"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            号码或工号:
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtCOMPLETEDPEOPLE" runat="server" CssClass="txt" MaxLength="64"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCOMPLETEDPEOPLE"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCOMPLETEDPEOPLE"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            完工内容:
                        </td>
                        <td class="content" colspan="3">
                            <asp:TextBox ID="txtCOMPLETEDCONTENT" runat="server" CssClass="txt txt90" MaxLength="256"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCOMPLETEDCONTENT"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCOMPLETEDCONTENT"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </asp:PlaceHolder>
                <tr>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            维修人数:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtSERVICENUMBER" runat="server" CssClass="txt" MaxLength="16" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvSERVICENUMBER"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtSERVICENUMBER"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            维修工时:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtSERVICEHOURS" runat="server" CssClass="txt" MaxLength="16" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvSERVICEHOURS"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtSERVICEHOURS"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            维修费用:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtSERVICEFEE" runat="server" CssClass="txt" MaxLength="19" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvSERVICEFEE"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtSERVICEFEE"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            里程:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtMILEAGE" runat="server" CssClass="txt" MaxLength="16" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvMILEAGE" runat="server"
                                ErrorMessage="*" Display="Dynamic" ControlToValidate="txtMILEAGE" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            到位方式:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtPLACEMETHOD" runat="server" CssClass="txt" MaxLength="16" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvPLACEMETHOD"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtPLACEMETHOD"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            维修零部件:</div>
                    </td>
                    <td class="content" colspan="5">
                        <asp:TextBox ID="txtREPAIRPARTS" runat="server" CssClass="txt txt90" MaxLength="128"
                            Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvREPAIRPARTS"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtREPAIRPARTS"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            处理说明:</div>
                    </td>
                    <td class="content" colspan="5">
                        <asp:TextBox ID="txtHANDLINGINSTRUCTIONS" runat="server" CssClass="txt txt90" MaxLength="256"
                            Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvHANDLINGINSTRUCTIONS"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtHANDLINGINSTRUCTIONS"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <asp:PlaceHolder ID="phVisit" runat="server">
                    <tr>
                        <td class="title">
                            <div class="nowrap">
                                产品满意度:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlPRODUCTSATISFACTION" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                不满意原因:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlPRODUCTREASON" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="rfvPRODUCTREASON" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="ddlPRODUCTREASON" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                服务满意度:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlSERVICESATISFACTION" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                不满意原因:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlSERVICEREASON" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="rfvSERVICEREASON" runat="server" ErrorMessage="*"
                                Display="Dynamic" ControlToValidate="ddlSERVICEREASON" Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div class="nowrap">
                                是否回访成功:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlISVISITCOMPLATE" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                回访情况:
                            </div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlVisitSituation" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                回访时间:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtVISITTIME" runat="server" CssClass="txt" MaxLength="20" Rows="3"
                                TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvVISITTIME"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtVISITTIME"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                        <td class="title">
                            <div style="white-space: nowrap;">
                                完成时间:</div>
                        </td>
                        <td class="content">
                            <asp:TextBox ID="txtPROCESSINGCOMPLETEDTIME" runat="server" CssClass="txt" MaxLength="20"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvPROCESSINGCOMPLETEDTIME"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtPROCESSINGCOMPLETEDTIME"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div class="nowrap">
                                是否全面培训:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlIsCultivate" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                是否全面检查:</div>
                        </td>
                        <td class="content">
                            <asp:DropDownList ID="ddlIsTotalChecking" runat="server" CssClass="ddl">
                            </asp:DropDownList>
                        </td>
                        <td class="title">
                            <div class="nowrap">
                                用户建议:</div>
                        </td>
                        <td class="content" colspan="3">
                            <asp:TextBox ID="txtUserRecommended" runat="server" CssClass="txt90" MaxLength="256"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            <div class="nowrap">
                                回访备注:</div>
                        </td>
                        <td class="content" colspan="7">
                            <asp:TextBox ID="txtVISITREMARK" runat="server" CssClass="txt txt90" MaxLength="128"
                                Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvVISITREMARK"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtVISITREMARK"
                                    Enabled="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </asp:PlaceHolder>
                <tr>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            创建人:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtCREATEPEOPLE" runat="server" CssClass="txt" MaxLength="32" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCREATEPEOPLE"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCREATEPEOPLE"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            创建时间:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtCREATETIME" runat="server" CssClass="txt" MaxLength="20" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCREATETIME"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCREATETIME"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            修改人:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtLASTMODIFYPEOPLE" runat="server" CssClass="txt" MaxLength="32"
                            Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvLASTMODIFYPEOPLE"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtLASTMODIFYPEOPLE"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div style="white-space: nowrap;">
                            修改时间:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtLASTMODIFYTIME" runat="server" CssClass="txt" MaxLength="20"
                            Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvLASTMODIFYTIME"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtLASTMODIFYTIME"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
            </table>
        </div>
        <div style="width: 100%" id="tBodyButton">
            <div class="btndiv notPrint">
                <asp:PlaceHolder ID="phButton" runat="server"></asp:PlaceHolder>
                <span class="btnspan">
                    <input id="btnCancel" runat="server" type="button" value="返 回" class="btn title_fh" /></span>
                <span class="btnspan">
                    <input id="btnPrint" type="button" value="打 印" class="btn " /></span> <span class="btnspan">
                        <input id="btnReminder" runat="server" type="button" value="预约提醒" class="btn " visible="false" /></span>
                <span class="btnspan">
                    <asp:Button ID="btnReSendSMS" Text="重发派工短信" CssClass="btn" CommandName="ReSendDispatchingSMS"
                        runat="server" OnClick="btnReSendSMS_Click" /></span> <span class="btnspan">
                            <input id="btnHistory" type="button" value="历史派工记录" class="btn " /></span>
                <span class="btnspan">
                    <input id="btnSQReport" runat="server" type="button" value="质量信息报告" class="btn "
                        visible="false" /></span>
            </div>
        </div>
        <asp:TextBox ID="txtGPSUrl" runat="server" Style="display: none;"></asp:TextBox>
    </div>
    </form>
</body>
</html>
